package com.headfirst.BehaviorMode.strategy.version3;

public class RedheadDuck extends Duck{
    
    public RedheadDuck(){
        super.setQuackBehavior(new Quack());
        super.setFlyBehavior(new FlyWithWings());
    }
    @Override
    public void display() {
        System.out.println("红头鸭子");
    }
    
}
